/* 美化CSS样式，仿照咸鱼平台 */
body {
    background-color: #f5f5f5; /* 设置全局背景颜色 */
}

.product-detail-container {
    display: flex;
    flex-direction: column; /* 将布局改为列布局 */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff; /* 设置容器背景颜色 */
}

.product-image1 img {
    width: 100%; /* 图片宽度占满容器 */
    height: auto; /* 高度自适应 */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px; /* 图片下方添加间距 */
}

.product-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.product-info p {
    font-size: 16px;
    margin: 5px 0;
}

.favorite-button {
    padding: 10px 20px;
    background-color: #ff5000;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.favorite-button:hover {
    background-color: #e64500;
}

.loading {
    font-size: 18px;
    text-align: center;
    padding: 50px;
}

.reviews-section {
    margin-top: 20px;
}

.review {
    border-top: 1px solid #eaeaea;
    padding: 10px 0;
}

.review p {
    margin: 5px 0;
}

.review-image img {
    max-width: 100px;
    height: auto;
    margin-top: 10px;
}